//
//  XferCalcViewController.h
//  XferCalc
//
//  Created by Nathan Nottingham on 11/21/08.
//  Copyright Blah 2008. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XferCalcViewController : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource> {
	
	NSArray						*sizeArray;
	NSArray						*speedArray;

	IBOutlet UIButton			*sizeButton;
	IBOutlet UIButton			*speedButton;

	UIPickerView				*sizePickerView;
	UIPickerView				*speedPickerView;

	long long					sizeValues[7];
	long long					speedValues[13];

	int							sizeMarker;
	int							speedMarker;

	IBOutlet UITextField		*filesize;
	IBOutlet UILabel			*outputLabel;

	IBOutlet UIButton			*matButton;
	IBOutlet UIButton			*nateButton;
}

- (IBAction)contactMat:(id)sender;
- (IBAction)contactNate:(id)sender;
	
- (IBAction)userDoneEnteringText:(id)sender;
- (IBAction)speedEdit;
- (IBAction)sizeEdit;
- (void)createSizePicker;
- (void)createSpeedPicker;
- (CGRect)pickerFrameWithSize:(CGSize)size;

@end

